import 'package:get/get.dart';
import 'package:nyh_motorcade_app/constant/constant.dart';
import 'package:nyh_motorcade_app/routes/routes.dart';

class PaymentResultController extends GetxController {
  String cashFlowId = "";

  @override
  void onReady() {
    super.onReady();
    cashFlowId = Get.arguments ?? "";
  }

  void goPage() {
    Get.offNamed(Routes.cashFlowDetails, arguments: {
      Constant.PARAM_CASH_FLOW_ID: cashFlowId,
      Constant.PARAM_CASH_FLOW_TYPE: Constant.COMPANY_SETTLEMENT_OUT,
    });
  }
}
